package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.KnowledgeSport;

import java.util.List;

public interface KnowledgeSportService {
    PageResult findPage(QueryPageBean queryPageBean);

    void add(KnowledgeSport knowledgeSport);

    void edit(KnowledgeSport knowledgeSport);

    void delete(Integer id);

    List<KnowledgeSport> findAll();
}
